package cn.edu.imust.loginregisterdemo.ui;

import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;
import androidx.databinding.DataBindingUtil;

import cn.edu.imust.loginregisterdemo.R;
import cn.edu.imust.loginregisterdemo.databinding.ActivityResultBinding;

public class ResultActivity extends AppCompatActivity {

    private ActivityResultBinding binding;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        binding = DataBindingUtil.setContentView(this, R.layout.activity_result);
        Bundle bundle = getIntent().getExtras();
        String result = bundle.getString("result");
        binding.tvResult.setText(result);

    }
}
